博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
css custome checkbox style in sench list
阅读量:4308 次
发布时间:2019-06-06

本文共 1125 字,大约阅读时间需要 3 分钟。

     itemTpl : new Ext.XTemplate(                '
', '
', '
', '
', '
', '
', '
', '
', '
{ReportName} {DisplayName} ', '
{DDate}', '
{MDate}', '
{ReportAlias} ', '
', '
', '
', '
', '
', // '

Generated

', '

{RunDate}

', '
', '
', '
', '
', '
', '
', '
', '
', '
')

 上面是sencha list的itemTpl..............

sench touch list 中嵌入checkbox,自定义其样式,来符合mobile端style

css:

.reportCheckBox {
background: url(../images/check2.png) no-repeat center center;-webkit-appearance: none;border: none;display: inline-block;font-size: 15px;padding: 0;width: 1.65em;height: 1.65em;-webkit-border-radius: 0.25em;vertical-align: middle;}input[type=checkbox]:checked {
background: url(../images/check.png) no-repeat center center;}

这是需要的图片:check2.png  check.png

效果图:

 

转载于:https://www.cnblogs.com/fengjian/archive/2013/04/23/3037971.html

你可能感兴趣的文章
FFmpeg 源码分析 - avcodec_send_packet 和 avcodec_receive_frame
查看>>
FFmpeg 新旧版本编码 API 的区别
查看>>
RecyclerView 源码深入解析——绘制流程、缓存机制、动画等
查看>>
Android 面试题整理总结(一)Java 基础
查看>>
Android 面试题整理总结(二)Java 集合
查看>>
学习笔记_vnpy实战培训day02
查看>>
学习笔记_vnpy实战培训day03
查看>>
VNPY- VnTrader基本使用
查看>>
VNPY - CTA策略模块策略开发
查看>>
VNPY - 事件引擎
查看>>
MongoDB基本语法和操作入门
查看>>
学习笔记_vnpy实战培训day04_作业
查看>>
OCO订单(委托)
查看>>
学习笔记_vnpy实战培训day06
查看>>
回测引擎代码分析流程图
查看>>
Excel 如何制作时间轴
查看>>
股票网格交易策略
查看>>
matplotlib绘图跳过时间段的处理方案
查看>>
vnpy学习_04回测评价指标的缺陷
查看>>
ubuntu终端一次多条命令方法和区别
查看>>